<%-- 
    Document   : upload
    Created on : Jun 2, 2011, 12:04:50 PM
    Author     : C-12®
--%>
<%if (null == session.getAttribute("auth")) {
        response.sendRedirect(request.getContextPath() + "/index.jsp");
    }
%>
<%@ page import="control.*" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ include file="menu.jsp" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Upload page</title>
    </head>
    <body>
        <h1>Upload</h1>
        <table>
            <table border='0' >
                <tr>
                <form method="post" ENCTYPE='multipart/form-data'
                      action ="fileUploading.jsp" >
                    <td><input type="file" name="uploadfile" size="50"></td>
                    <td><input type="submit" name="Submit" value="Upload"></td>  
                    <td><input type="reset" name="Reset" value="Reset"></td>  
                </form>
                </tr>


            </table>
    </body>
</html>
